import Index from '@/views/Index'
const home = {
    path: '/home',
    name: 'home',
    redirect: '/home/myinfo',
    component: Index,
    children: [
        {
            path: 'myinfo',
            component: () => import('@/views/home/MyInfo.vue'),
            name: 'myinfo',
            meta: {
                title: '我的资料',
                auth: true,
                breadcrumb: [{
                    title: '我的账户',
                    path: '/home'
                }, {
                    title: '我的资料',
                    path: '/home/myinfo'
                }]
            }
        }, {
            path: 'loginlog',
            component: () => import('@/views/home/LoginLog.vue'),
            name: 'home_loginlog',
            meta: {
                title: '登录日志',
                auth: true,
                breadcrumb: [{
                    title: '我的账户',
                    path: '/home'
                }, {
                    title: '登录日志',
                    path: '/home/loginlog'
                }]
            }
        }, {
            path: 'mypassword',
            component: () => import('@/views/home/MyPassword.vue'),
            name: 'home_mypassword',
            meta: {
                title: '修改密码',
                auth: true,
                breadcrumb: [{
                    title: '我的账户',
                    path: '/home'
                }, {
                    title: '修改密码',
                    path: '/home/mypassword'
                }]
            }
        }
    ]
}
export default home